<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ATP Blog - AI Travel Poster</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="style.css">
    <link rel="stylesheet" href="blog.css">
</head>
<body>
    <!-- Navigation Bar -->
    <nav class="navbar">
        <div class="nav-container">
            <div class="nav-left">
                <a href="index.html" class="logo">
                    <img src="assets/logo.jpg" alt="ATP Logo" class="logo-image">
                    <span class="logo-text">ATP</span>
                </a>
                <a href="blog.html" class="nav-link">Blog</a>
                <a href="test_poster/index.html" class="nav-link">Templates Preview</a>
            </div>
            <div class="nav-right">
                <button class="btn btn-primary" id="blog-waitlist-btn">Join Waitlist</button>
            </div>
            </div>
        </nav>

    <!-- Blog Content -->
    <main class="blog-main">
        <div class="container">
            <div class="blog-hero">
                <h1>ATP Blog</h1>
                <p>Insights, tips, and stories about AI-powered travel poster creation</p>
            </div>
            
            <div class="blog-grid">
                <!-- Blog Post 1 -->
                <article class="blog-post" data-post="1">
                    <div class="post-header">
                        <h2 class="post-title">Why We Built ATP — AI Travel Poster</h2>
                        <div class="post-meta">
                            <span class="post-date">2025-01-15</span>
                            <span class="post-tag">Product Story</span>
                        </div>
                    </div>
                    <div class="post-content">
                        <div class="post-excerpt">
                            <p>Scrolling through a vacation's worth of photos used to feel like wading through digital sand: thousands of shots, no clear narrative, and the nagging guilt that none of it would ever be printed or shared...</p>
                            <p>That pain point lit the fuse for ATP. We asked two questions: Could a phone automatically capture the context of a day—timestamp, location, mood—without extra effort? Could generative design turn those fragments into a poster you'd actually pin on a wall or post to Instagram?</p>
                        </div>
                        <a href="article-1.html" class="read-more-btn">Read More</a>
                    </div>
                </article>

                <!-- Blog Post 2 -->
                <article class="blog-post" data-post="2">
                    <div class="post-header">
                        <h2 class="post-title">Behind the Scenes: How ATP Generates Beautiful Posters</h2>
                        <div class="post-meta">
                            <span class="post-date">2025-01-10</span>
                            <span class="post-tag">Technology</span>
                        </div>
                    </div>
                    <div class="post-content">
                        <div class="post-excerpt">
                            <p>Creating beautiful, personalized travel posters isn't just about slapping photos onto templates. ATP's AI pipeline carefully analyzes your travel data—from GPS coordinates to photo composition—to craft unique visual stories...</p>
                            <p>Our three-stage process includes intelligent scene recognition, contextual design generation, and style adaptation. Each poster reflects not just where you went, but how the experience felt.</p>
                        </div>
                        <a href="article-2.html" class="read-more-btn">Read More</a>
                    </div>
                </article>

                <!-- Blog Post 3 -->
                <article class="blog-post" data-post="3">
                    <div class="post-header">
                        <h2 class="post-title">Five Lessons From Shipping a Consumer AI Tool in 2025</h2>
                        <div class="post-meta">
                            <span class="post-date">2025-01-05</span>
                            <span class="post-tag">Startup Insights</span>
                        </div>
                    </div>
                    <div class="post-content">
                        <div class="post-excerpt">
                            <p>Building ATP over the past nine months taught us more about product-market reality than any MBA class. Here are five takeaways...</p>
                            <p>Narrow beats broad, Invisible AI wins trust, Latency is UX, Email remains king, Community > ads—these are valuable lessons learned from real-world experience.</p>
                        </div>
                        <a href="article-3.html" class="read-more-btn">Read More</a>
                    </div>
                </article>
            </div>
        </div>
    </main>

    <!-- Comment Section -->
    <section class="comment-section">
        <div class="container">
            <div class="comment-container">
                <h2 class="comment-title">Share Your Thoughts</h2>
                <p class="comment-subtitle">We'd love to hear your thoughts and suggestions about ATP</p>
                
                <form class="comment-form" id="comment-form" name="comments" method="POST" data-netlify="true">
                    <input type="hidden" name="form-name" value="comments" />
                    <div class="form-row">
                        <div class="form-group">
                            <label for="name">Name</label>
                            <input type="text" id="name" name="name" required placeholder="Enter your name">
                        </div>
                        <div class="form-group">
                            <label for="email">Email</label>
                            <input type="email" id="email" name="email" required placeholder="Enter your email">
                        </div>
                    </div>
                    
                    <div class="form-group">
                        <label for="comment">Comment</label>
                        <textarea id="comment" name="comment" required placeholder="Share your thoughts, suggestions, or questions about ATP..."></textarea>
                    </div>
                    
                    <button type="submit" class="submit-btn">Submit Comment</button>
                    
                    <div class="success-message" id="success-message">
                        <span>Thank you for your comment! We'll read it carefully and respond.</span>
                    </div>
                </form>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer>
        <div class="container">
            <div class="footer-content">
                <div class="footer-left">
                    <span>© 2025 ATP</span>
                </div>
                <div class="footer-right">
                    <a href="https://x.com/AI_Travel_Post" target="_blank" rel="noopener noreferrer" class="social-link" aria-label="Follow us on X (Twitter)">
                        <i class="fab fa-twitter"></i>
                    </a>
                    <a href="https://mp.weixin.qq.com/s/jtklzDQKNC_FR9sc8_PiDQ" target="_blank" rel="noopener noreferrer" class="social-link" aria-label="关注微信公众号">
                        <i class="fab fa-weixin"></i>
                    </a>
                </div>
            </div>
        </div>
    </footer>

    <!-- Waitlist Modal -->
    <div id="waitlist-modal" class="modal">
        <div class="modal-content">
            <span class="close">&times;</span>
            <div class="modal-header">
                <h3>Join the ATP Waitlist</h3>
                <p>Be among the first to experience ATP and enjoy exclusive features</p>
            </div>
            <form id="blog-waitlist-form" class="waitlist-form" name="waitlist" method="POST" data-netlify="true">
                <input type="hidden" name="form-name" value="waitlist" />
                <input type="hidden" name="source" value="Blog Page" />
                <input type="email" name="email" placeholder="Enter your email address" required />
                <button type="submit" class="btn btn-primary">Join Waitlist</button>
            </form>
        </div>
    </div>

    <script src="main.js"></script>
    <script src="blog.js"></script>
</body>
</html> 